package db.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.*;


/**
 * The persistent class for the polynomial database table.
 * 
 */
@Entity
@Table(name="polynomial")
public class Polynomial implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private PolynomialPK id;

	private BigDecimal a0;

	private BigDecimal a1;

	private BigDecimal a2;

	private BigDecimal a3;

	private BigDecimal a4;

	private BigDecimal a5;

	private BigDecimal a6;

	private BigDecimal a7;

	private BigDecimal a8;

	private BigDecimal a9;

	private String remarks;

    public Polynomial() {
    }

	public PolynomialPK getId() {
		return this.id;
	}

	public void setId(PolynomialPK id) {
		this.id = id;
	}
	
	public BigDecimal getA0() {
		return this.a0;
	}

	public void setA0(BigDecimal a0) {
		this.a0 = a0;
	}

	public BigDecimal getA1() {
		return this.a1;
	}

	public void setA1(BigDecimal a1) {
		this.a1 = a1;
	}

	public BigDecimal getA2() {
		return this.a2;
	}

	public void setA2(BigDecimal a2) {
		this.a2 = a2;
	}

	public BigDecimal getA3() {
		return this.a3;
	}

	public void setA3(BigDecimal a3) {
		this.a3 = a3;
	}

	public BigDecimal getA4() {
		return this.a4;
	}

	public void setA4(BigDecimal a4) {
		this.a4 = a4;
	}

	public BigDecimal getA5() {
		return this.a5;
	}

	public void setA5(BigDecimal a5) {
		this.a5 = a5;
	}

	public BigDecimal getA6() {
		return this.a6;
	}

	public void setA6(BigDecimal a6) {
		this.a6 = a6;
	}

	public BigDecimal getA7() {
		return this.a7;
	}

	public void setA7(BigDecimal a7) {
		this.a7 = a7;
	}

	public BigDecimal getA8() {
		return this.a8;
	}

	public void setA8(BigDecimal a8) {
		this.a8 = a8;
	}

	public BigDecimal getA9() {
		return this.a9;
	}

	public void setA9(BigDecimal a9) {
		this.a9 = a9;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}